﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace B.S.Sterilizationcenter.Domain.yjb
{
    public class Nlog
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        /// <summary>
        /// 系统日志主键
        /// </summary>
        public int LogId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>

        public string? UserName { get; set; }


        /// <summary>
        /// 日志类型
        /// </summary>

        public string LogType { get; set; }

        /// <summary>
        /// 响应状态
        /// </summary>

        public string Respsestate { get; set; }

        /// <summary>
        /// 时长
        /// </summary>

        public int Duration { get; set; }


        /// <summary>
        /// 异常信息（允许空）
        /// </summary>

        public string? ExcepMessage { get; set; }

        /// <summary>
        /// 逻辑删除字段
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
